package community.hospital.entity.request;

import community.hospital.common.Add;
import community.hospital.common.BaseIndex;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotNull;
import java.util.Date;


/**
 * @author yindingjie
 */
@EqualsAndHashCode(callSuper = true)
@Data
public class OrderRequest extends BaseIndex {

    @NotNull(groups = {Add.class},message = "请选择排班日期")
    private Long scheduleId;
//    @NotNull(groups = Add.class,message = "价格不能为空")
    private Integer price;

    private Long department1Id;
    private Long department2Id;
    private Long doctorId;
    private Long hospitalId;



}
